﻿using MangoMes.Commont.DTOs.CommontFiles;
using MediatR;

namespace MangoMes.Write.API.Applications.ProductionWorkOrders
{
    public class ProductionOrdersCommand:IRequest<Resqults>
    {
        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int ProductionWorkOrdersID { get; set; }
        /// <summary>
        /// 生产工单No
        /// </summary>
        public string ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 生产工单名称
        /// </summary>
        public string ProductionWorkOrdersName { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string TicketsType { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNumber { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductsNo { get; set; }
        /// <summary>
        /// 工单数量
        /// </summary>
        public int TicketsNum { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string? CustomerNo { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? DemandDate { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? BatchNo { get; set; }
        /// <summary>
        /// 二维码数据
        /// </summary>
        public string? QrCore { get; set; }
        /// <summary>
        /// 添加、修改、逻辑删除状态码 0：添加；1：修改；2：逻辑删除
        /// </summary>
        public int Pid { get; set; }
    }
}
